import { createApp } from 'vue'
import { createPinia } from 'pinia'
import App from './App.vue'
import router from './router'
import './assets/main.css'
import { library } from '@fortawesome/fontawesome-svg-core'
import { 
  faChartBar, 
  faSearch, 
  faGlobe, 
  faUpload, 
  faCogs, 
  faChartLine, 
  faChevronRight,
  faLightbulb,
  faComments,
  faMagic,
  faPaperPlane,
  faTimes
} from '@fortawesome/free-solid-svg-icons'
import { FontAwesomeIcon } from '@fortawesome/vue-fontawesome'

library.add(
  faChartBar,
  faSearch,
  faGlobe,
  faUpload,
  faCogs,
  faChartLine,
  faChevronRight,
  faLightbulb,
  faComments,
  faMagic,
  faPaperPlane,
  faTimes
)

const app = createApp(App)
app.component('font-awesome-icon', FontAwesomeIcon)
app.use(createPinia())
app.use(router)  
app.mount('#app')
